cameraControlDo
Type
command
Summary
Execute specific behaviors of camera controls created using cameraControlCreate.
Syntax
cameraControlDo <controlName>, <action> [, <actionParameter> ...]
Description
Use the cameraControlDo command to execute behaviors specific to a particular camera control created using cameraControlCreate. An action may require or have a number of optional extra parameters which are defined in the values section below.
Parameters
| Name | Type | Description | 
|---|---|---|
controlName  | The name of the control.  | |
action  | enum  | The action to perform.  | 
actionParameter  | Additional parameter required for the action.  | 
Examples
	cameraControlDo "myCameraControl", "takePicture"
	cameraControlDo tCameraControlName, "startRecording", specialFolderPath("engine") & "/video.mp4"
Value
| Name | Type | Description | 
|---|---|---|
the result  | Actions may return a value through the result. The takePicture action is one such example.  | 
Related
command: cameraControlDelete, cameraControlSet, cameraControlCreate
function: cameraControls, cameraControlTarget, the result, cameraControlGet
Compatibility and Support
Introduced
LiveCode 7.1
OS
mac
windows
ios
android